package com.youme.section.shop

import com.blankj.utilcode.util.ToastUtils
import com.hyphenate.easeim.R
import com.salton123.ui.base.YoumeTitleActivity
import kotlinx.android.synthetic.main.activity_payfor.*

class PayforActivity : YoumeTitleActivity() {

    override fun getTitleText(): String = "支付中心"
    override fun getLayoutId(): Int {
        return R.layout.activity_payfor
    }

    override fun initViewAndData() {
        price.text = "" + intent.getDoubleExtra("price", 0.0)
        pay_for_end.setOnClickListener {
            ToastUtils.showLong("支付成功！！！")
            finish()
        }
    }
}